package com.taobao.ic.ticket.pojo;


public class passengerDO {
	private String name ;
	private String cardid ; //身份证
	private String mobile ; //手机号
	/**
	* <option value="1">二代身份证</option>
	* <option value="2">一代身份证</option>
	* <option value="C">港澳通行证</option>
	* <option value="G">台湾通行证</option>
	*/
	private String cardtype ;//证件类型  
	
	public passengerDO(String name ,String cardid,String mobile, String cardtype){
		this.name = name ;
		this.cardid =cardid;
		this.mobile = mobile;
		this.cardtype = cardtype;
	}
	public passengerDO(String name ,String cardid,String mobile){
		this.name = name ;
		this.cardid =cardid;
		this.mobile = mobile;
	}
	public static  passengerDO ceartPeoForWEI(){
		return new passengerDO("魏超", "510725199003242416", "15116335086", "1");
	}
	/**
	 * @param args
	 */
	public static void main(String[] args) {
		String xx = "<a name='btn130_2' class='btn130_2' style='text-decoration:none;' onclick=javascript:getSelected('L234#38:21#20:54#550000L23460#SHH#JFW#11:15#上海#江油#01#18#1*****34171*****00002*****0000#D8457505C9F4943D4035E37282B4E5955CA4E18FA00984429C8747C0#H1')>";
//		xx=xx.replaceAll("'"," " );
		System.out.println(xx.split("'")[7].split("#").length);
//		xx =StringUtils.split(xx,("("))[1].split(")")[0];
	   String[] sx = xx.split("#");
//	   System.out.println(sx);
	}
	public String getMobile() {
		return mobile;
	}
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getCardid() {
		return cardid;
	}
	public void setCardid(String cardid) {
		this.cardid = cardid;
	}
	public String getCardtype() {
		return cardtype;
	}
	public void setCardtype(String cardtype) {
		this.cardtype = cardtype;
	}
}
